From: Florian Müllner Date: Wed, 25 Jul 2012 17:08:29 +0000 (+0200) Subject: loginDialog: Tweak automatic scroll animation X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~6259 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=5c7992beef9fc59ff111c75f3b70e6f90636fdb1;p=gnome-shell.git loginDialog: Tweak automatic scroll animation The current animation time of two seconds may result in some confusion, as the reason of the behavior only becomes apprent when the auto-activating item becomes visible; make the animation a lot faster and ease it out a bit. https://bugzilla.gnome.org/show_bug.cgi?id=660913 --- diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index 31c7208a2..54cf8142d 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -41,7 +41,7 @@ const ModalDialog = imports.ui.modalDialog; const Tweener = imports.ui.tweener; const _RESIZE_ANIMATION_TIME = 0.25; -const _SCROLL_ANIMATION_TIME = 2.0; +const _SCROLL_ANIMATION_TIME = 0.5; const _TIMED_LOGIN_IDLE_THRESHOLD = 5.0; const _LOGO_ICON_NAME_SIZE = 48; @@ -400,7 +400,7 @@ const UserList = new Lang.Class({ Tweener.addTween (adjustment, { value: value, time: _SCROLL_ANIMATION_TIME, - transition: 'linear' }); + transition: 'easeOutQuad' }); }, jumpToItem: function(item) {